<template>
  <div class="hamburger" @click="toggleClick">
    <i class="el-icon-s-fold"></i>
  </div>
</template>

<script>
export default {
  name: 'Hamburger',
  data() {
    return {}
  },
  methods: {
    toggleClick() {
      this.$emit('toggleClick')
    }
  }
}
</script>

<style scoped>
.hamburger {
  padding: 0 15px;
  display: inline-block;
  vertical-align: middle;
  height: 50px;
  cursor: pointer;
}
i {
  width: 20px;
  height: 50px;
  display: block;
  font-size: 20px;
  line-height: 50px;
}
</style>
